package com.billing.service;

import java.util.List;

import com.billing.model.entity.TRoleMembers;

public interface RoleMembersService {
	int insert(TRoleMembers roleMembers);

	/**
	 * 根据公司id查询角色
	 * @param parseInt
	 * @return
	 */
	List<TRoleMembers> getRoleById(int id,String name,int status,int pageSize,int currentPage);
	/**
	 * 查询角色条数
	 * @param parseInt
	 * @return
	 */
	int getroleNum(int id,String name,int status);
	/**
	 * 根据id获取role
	 * @param id
	 * @return
	 */
	TRoleMembers getRole(String id);
	/**
	 *修改role
	 * @param id
	 * @return
	 */
	int updateRole(TRoleMembers roleMembers);

}
